<include path="header" /> 
 

<div class="m-title">
	<ul>
    	<li>资料修改</li>
        <li><a href="/setting/name">真实姓名</a></li>
        <li><a href="/setting/password">密码修改</a></li>
        <li><a href="/setting/avatar" >头像上传</a></li>
        <li><a href="/setting/mail">邮箱设置</a></li>
        <li><a href="/setting/theme" class="select">主题设置</a></li>
		<li><a href="/setting/group">工作组</a></li>
        <li></li>
    </ul>
</div>
<div class="box">
    <form action="/setting/theme" method="post">
        <table class="two-cols">
          <tr>
            <td>选择主题</td>
            <td>
              <select name="theme">
              <? echo $th; foreach($th as $item){ ?>
                  <option <? if($user['theme'] == $item['theme']){ ?> selected="selected" <? } ?> value='<?=$item['theme']?>'><?=$item['display']?></option>
              <? } ?>
              </select><br/>
              <span>不同主题的显示部分略有不同<br /></span>
            </td>
          </tr>
          <tr>
            <td> </td>
            <td ><input type="submit" value="确认" class="button"/>
           </td>
          </tr>
        </table>
    </form>
</div> 
<include path="footer" />
 
